package com.oa.ylms.apps.dao.archives;

import java.util.List;

import com.oa.ylms.apps.entity.archives.ArchiveInfoValue;
import com.oa.ylms.apps.entity.archives.StaffInfoValue;
import com.oa.ylms.apps.entity.organization.SectionInfoValue;

public interface IStaffInfoDao {

	public int addStaffInfo(StaffInfoValue staffInfo) throws Exception;
	
	public boolean editStaffInfo(StaffInfoValue staffInfo) throws Exception;
	
	public StaffInfoValue queryByStaffId(StaffInfoValue staffInfo) throws Exception;
	
	public List<StaffInfoValue> queryStaffInfo(StaffInfoValue staffInfo, ArchiveInfoValue archiveInfo, int rows, int pageNo) throws Exception;
	
	public int countTPage(StaffInfoValue staffInfo, ArchiveInfoValue archiveInfo,int rows) throws Exception;
	
	public List<StaffInfoValue> queryBySectionId(SectionInfoValue sectionInfo) throws Exception;
	
	public List<StaffInfoValue> verifyStaffInfo(StaffInfoValue staffInfo) throws Exception;
	
	public int getTotalNumber();
}
